//
//  DIYCityKoreaAppDelegate.m
//  DIYCityKorea
//
//  Created by 훈준 박 on 10. 4. 27..
//  Copyright __MyCompanyName__ 2010. All rights reserved.
//

#import "DIYCityKoreaAppDelegate.h"

@implementation DIYCityKoreaAppDelegate

@synthesize window;
@synthesize rootController;
@synthesize navigationController;
@synthesize mainViewController;
@synthesize takenPhoto;

@synthesize latString;
@synthesize lngString;
@synthesize detailString;
@synthesize emailString;
@synthesize imageFilePath;

- (NSString *)applicationDocumentsDirectory {
	return [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) lastObject];
}


- (void)applicationDidFinishLaunching:(UIApplication *)application {    

    
	// Override point for customization after application launch
	[window addSubview:rootController.view];
	[window makeKeyAndVisible];
}


- (void)dealloc {    
	[window release];
	[latString release];
	[lngString release];
	[detailString release];
	[emailString release];
	[imageFilePath release];
	[takenPhoto release];

	[mainViewController release];
	[navigationController release];
	[rootController release];

    [super dealloc];
}

@end
